import request from 'UTIL/request'

/**
 * 审核合同或者回款
 */
export function AuditExamine(data) {
  return request({
    url: 'crmExamineRecord/auditExamine',
    method: 'POST',
    data: data
  })
}

/**
 * 根据审核记录id，查询审核历史
 */
export function QueryExamineLogList(data) {
  return request({
    url: 'crmExamineRecord/queryExamineLogList',
    method: 'POST',
    data: data,
		requestType: 'form'
  })
}

/**
 * 查询当前启用审核流程步骤
 */
export function QueryExamineStep(data) {
  return request({
    url: 'crmExamine/queryExamineStep',
    method: 'POST',
    data: data
  })
}

/**
 * 根据审核记录id，查询审核步骤和审核记录
 */
export function QueryExamineRecordList(data) {
  return request({
    url: 'crmExamineRecord/queryExamineRecordList',
    method: 'POST',
    data: data,
		header: {
			'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
		}
  })
}
